<div :class="{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }">
    <i-form>
        <el-table v-if="isDisplay === true"
            :border="isDragendCol"
            :class="true && items.length > 0 ? 'total-row-table' : ''"
            :show-summary="true && items.length > 0"
            :summary-method="getSummaries"
            :highlight-current-row ="isSingleSelect"
            :row-class-name="getRowClassName.bind(_self)"
            :cell-class-name="getCellClassName.bind(_self)"
            size="mini"
            stripe
            :height="tableHeight"
            @row-click="rowClick($event)"  
            @select-all="selectAll($event)"  
            @select="select.apply(_self, arguments)"  
            @row-class-name="onRowClassName($event)"  
            @row-dblclick="rowDBLClick($event)"  
            ref="multipleTable" :data="items" :show-header="!isHideHeader"
        >
            <template slot="empty">
                {{$t('entities.productsum.productstoryhourssum_grid.nodata')}} 
                <span class="quick-toolbar">
                </span>
            </template>
            <template v-if="!isSingleSelect">
                <el-table-column align="center" type="selection" :width="checkboxColWidth"></el-table-column>
            </template>
            <template v-if="getColumnState('name')">
                <el-table-column show-overflow-tooltip :prop="'name'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.name')" :min-width="180"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.name')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.name}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('po')">
                <el-table-column show-overflow-tooltip :prop="'po'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.po')" :width="120"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.po')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <codelist :value="row.po" tag="UserRealName_Gird" codelistType="DYNAMIC" renderMode="STR" valueSeparator="," textSeparator="," ></codelist>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('waitstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'waitstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.waitstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.waitstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.waitstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('planedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'planedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.planedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.planedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.planedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('projectedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'projectedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.projectedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.projectedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.projectedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('developingstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'developingstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.developingstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.developingstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.developingstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('developedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'developedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.developedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.developedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.developedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('testingstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'testingstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.testingstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.testingstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.testingstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('testedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'testedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.testedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.testedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.testedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('verifiedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'verifiedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.verifiedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.verifiedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.verifiedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('releasedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'releasedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.releasedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.releasedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.releasedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('closedstagestoryhours')">
                <el-table-column show-overflow-tooltip :prop="'closedstagestoryhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.closedstagestoryhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.closedstagestoryhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.closedstagestoryhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('totalhours')">
                <el-table-column show-overflow-tooltip :prop="'totalhours'" :label="$t('entities.productsum.productstoryhourssum_grid.columns.totalhours')" :width="80"  :align="'center'">
                    <template v-slot:header="{column}">
                       <span class="column-header ">
                        {{$t('entities.productsum.productstoryhourssum_grid.columns.totalhours')}}
                       </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                            <span>{{row.totalhours}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="adaptiveState">
                <el-table-column></el-table-column>
            </template>
        </el-table>
    </i-form>
</div>